package com.lanhe.versionRec.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lanhe.versionRec.domain.LhVersionRec;

import java.util.List;

/**
 * app版本表(LhVersionRec)表服务接口
 *
 * @author zhanggl
 * @since 2024-01-13 21:56:44
 */
public interface ILhVersionRecService extends IService<LhVersionRec> {

	/**
	 * 分页查询
	 *
	 * @param versionRec 实体
	 * @return java.util.List<com.lanhe.weightAssistant.domain.LhWeightAssistant>
	 * @author zhanggl
	 * @date 2024/1/13
	 */
	List<LhVersionRec> selectVersionRecList(LhVersionRec versionRec);


	/**
	 * 根据ID查信息
	 *
	 * @param verId 版本号ID
	 * @return com.lanhe.versionRec.domain.LhVersionRec
	 * @author zhanggl
	 * @date 2024/1/13
	 */
	LhVersionRec selectVersionRecById(Long verId);

	/**
	 * 新增
	 *
	 * @param lhVersionRec 实体
	 * @return int
	 * @author zhanggl
	 * @date 2024/1/13
	 */
	int insertVersionRec(LhVersionRec lhVersionRec);

	/**
	 * 修改
	 *
	 * @param lhVersionRec 实体
	 * @return int
	 * @author zhanggl
	 * @date 2024/1/13
	 */
	int updateVersionRec(LhVersionRec lhVersionRec);

	/**
	 * 删除
	 *
	 * @param verId ID
	 * @return int
	 * @author zhanggl
	 * @date 2024/1/13
	 */
	int deleteVersionRecById(Long verId);

	/**
	 * 获取版本信息
	 *
	 * @return com.lanhe.versionRec.domain.LhVersionRec
	 * @author zhanggl
	 * @date 2024/1/13
	 */
	LhVersionRec getLatestVersion();
}

